package com.ruoyi.basice_info.service;

import java.util.List;
import com.ruoyi.basice_info.domain.TbAssessmentMethod;

/**
 * 考核方式设置Service接口
 *
 * @author hongyi
 * @date 2023-12-07
 */
public interface ITbAssessmentMethodService
{
    /**
     * 查询考核方式设置
     *
     * @param assessmentMethodId 考核方式设置主键
     * @return 考核方式设置
     */
    public TbAssessmentMethod selectTbAssessmentMethodByAssessmentMethodId(Long assessmentMethodId);

    // 根据考核方式代码
    public TbAssessmentMethod getTbAssessmentMethodByAssessmentMethodCode(String code);


    // 考核方式代码
    public TbAssessmentMethod getTbAssessmentMethodByAssessmentMethodName(String name);

    /**
     * 查询考核方式设置列表
     *
     * @param tbAssessmentMethod 考核方式设置
     * @return 考核方式设置集合
     */
    public List<TbAssessmentMethod> selectTbAssessmentMethodList(TbAssessmentMethod tbAssessmentMethod);

    /**
     * 新增考核方式设置
     *
     * @param tbAssessmentMethod 考核方式设置
     * @return 结果
     */
    public int insertTbAssessmentMethod(TbAssessmentMethod tbAssessmentMethod);

    /**
     * 修改考核方式设置
     *
     * @param tbAssessmentMethod 考核方式设置
     * @return 结果
     */
    public int updateTbAssessmentMethod(TbAssessmentMethod tbAssessmentMethod);

    /**
     * 批量删除考核方式设置
     *
     * @param assessmentMethodIds 需要删除的考核方式设置主键集合
     * @return 结果
     */
    public int deleteTbAssessmentMethodByAssessmentMethodIds(Long[] assessmentMethodIds);

    /**
     * 删除考核方式设置信息
     *
     * @param assessmentMethodId 考核方式设置主键
     * @return 结果
     */
    public int deleteTbAssessmentMethodByAssessmentMethodId(Long assessmentMethodId);
}
